package com.example.demo.config;

import com.example.demo.bean.User;
import com.example.demo.registar.UerServiceImportSelector;
import com.example.demo.registar.UserServiceRegistar;
import com.example.demo.service.impl.UserServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author: zhushl
 * @Date: 2021-05-14 09:09
 * @Description:
 */
@Configuration(proxyBeanMethods = false)
//@Import(UserServiceImpl.class)
//@Import(UserServiceRegistar.class)
//@Import(UerServiceImportSelector.class)
@EnableUserService(name = "usertest")
public class Configer {
    @Bean
    public User getUser(){
        return new User();
    }
}
